<template>
  <!-- <div class="container"> -->
  <div>
    <navbar></navbar>

    <myheader></myheader>
    <!-- <img src="../assets/img/logo/logo1.jpg" alt /> -->

    <carousel :homecarouselimg="homecarouselimg"></carousel>

    <br />
    <br />
    <card :njtsau="njtsau" :community="community"></card>
    <!-- footer -->
    <homefooter></homefooter>
  </div>
</template>

<script>
import navbar from "../subcomponents/NavBar.vue";
import carousel from "../subcomponents/Carousel.vue";
import card from "../subcomponents/Card.vue";
import myheader from "../subcomponents/Header.vue";
import homefooter from "../subcomponents/Footer.vue";
export default {
  data() {
    return {
      homecarouselimg: [
        {
          id: 1,
          path: require("../assets/img/homecarousel/homecarousel1.jpg")
        },
        {
          id: 2,
          path: require("../assets/img/homecarousel/homecarousel2.jpg")
        },
        {
          id: 3,
          path: require("../assets/img/homecarousel/homecarousel3.jpg")
        }
      ],
      // 社联要闻
      njtsau: [
        {
          id: 1,
          title: "第十三届社团巡礼节",
          desc:
            "5月20日18:30，第十三届社团巡礼节闭幕式晚会在江浦大礼堂圆满结束",
          path: require("../assets/img/cardimg/card1.jpg")
        },
        {
          id: 2,
          title: "2019社团社联迎新晚会",
          desc: "10月21日，2019社团社联迎新晚会在江浦大礼堂举办",
          path: require("../assets/img/cardimg/card2.jpg")
        },
        {
          id: 3,
          title: "“星光熠毅”百团大战",
          desc: "10月15日，““星光熠毅”百团大战在沉毅广场成功举办",
          path: require("../assets/img/cardimg/card3.jpg")
        }
      ],
      // 社团风采
      community: [
        {
          id: 1,
          title: "潮爆公社十周年",
          desc: "5月11日，潮爆公社“寒潮来袭”专场在江浦大礼堂举办",
          path: require("../assets/img/cardimg/card4.jpg")
        },
        {
          id: 2,
          title: "子不语汉服社成人礼",
          desc: "11月23日，子不语汉服社成人礼在南京夫子庙举行",
          path: require("../assets/img/cardimg/card5.jpg")
        },
        {
          id: 3,
          title: "单身节派对",
          desc: "11月11日，精英创业协会“南工南审联谊单身节晚会”在音乐台举行",
          path: require("../assets/img/cardimg/card6.jpg")
        }
      ]
    };
  },
  components: {
    navbar,
    carousel,
    card,
    myheader,
    homefooter
  }
};
</script>
<style lang="scss" scoped>
.logo {
  width: 100%;
  img {
    width: 100%;
    padding: 0 0;
    margin: 0 0;
    border: 0 0;
  }
}
</style>